<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var user=prompt("请输入您的手机号:");
			
			var reg=/^(\+86|0086)?\s*1[3-9]\d{9}$/;
			
			console.log(reg.test(user));
		</script>
	</body>
</html>
